
FROM openjdk:8

MAINTAINER xwb
# 指定零时文件路径，在主机下的路径
VOLUME /usr/local/docker/software/project/jenkins-demo
# RUN

WORKDIR /usr/local/docker/software/project/jenkins-demo


ADD jenkins-demo-1.1.0.jar jenkins-demo.jar

# 运行jar
#RUN bash -c 'touch /jenkins-demo.jar' ENTRYPOINT ["java","-jar","/jenkins-demo.jar"]

EXPOSE 8881

ENTRYPOINT ["java","-jar","jenkins-demo.jar"]

